<?php

namespace app\admin\validate;

use think\Validate;
/**
 *  Goods 商品验证
 *  自动验证模型类
 * Class Goods
 * @package app\validate\model
 */
class Goods extends Validate
{
    //验证规则
    protected $rule = [
        'gname'=>'require',
    ];
    protected $message = [
        'gname'=>'商品名称必填',
    ];
}
